package com.zhangshuo.patternDesign.memento;

import java.util.List;

/**
 * Created by shuo.zhang on 2017-10-27.
 * <p>
 * 备忘录的实体类
 */
public class Memento {

    /**
     * 保存的备忘内容
     */
    private List<String> memories;


    /**
     * 获取记忆
     *
     * @return
     */
    public List<String> getMemories() {
        return memories;
    }

    /**
     * 设置记忆
     *
     * @param memories
     */
    public void setMemories(List<String> memories) {
        this.memories = memories;
    }
}
